InfoBar: Fix wrong/uninit var use in code example
authorDaniel Boles <dboles@src.gnome.org>
Sat, 12 Aug 2017 20:07:22 +0000 (21:07 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Sat, 12 Aug 2017 20:08:24 +0000 (21:08 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=786144

gtk/gtkinfobar.c

index 6fb798ae883ccc913b10d0cceb0b1d65e86eb38a..0ca11d9d3753b11e4b21cdf9cb6cbd9923278df4 100644 (file)
@@ -81,7 +81,7 @@
  * GtkInfoBar *bar;
  *
  * widget = gtk_info_bar_new ();
- * bar = GTK_INFO_BAR (bar);
+ * bar = GTK_INFO_BAR (widget);
  *
  * message_label = gtk_label_new ("");
  * gtk_widget_show (message_label);